var e = document.querySelector("#e");
var x = document.querySelector("#x");

//移入分类按钮
e.addEventListener("mouseover",function(){
    //移入的时候，执行显示分类详情
    x.style.display ="block";
});
e.addEventListener("mouseleave",function(){
    x.style.display ="none";
});
//移入详情
x.addEventListener("mouseover",function(){
    x.style.display ="block";
});
//移出详情
x.addEventListener("mouseleave",function(){
    x.style.display="none";
});




new Vue({
    el:"#app",
    data:{
        message:"正在请求数据..."
    },
    mounted(){
        axios
            .get('json/tsconfig.json')
            .then(response => this.message =response.data.urls)
            .catch(function(error){
                console.log(error);
            })
    }

})